<div id="new_blog_form">
	<h1>New Blog</h1>

<%form_for :feed, :url=>{:action => 'create'} do |form| %>
<%= error_messages_for 'feed' %>
<p><label for="feed_title">Title</label><br/>
<%= form.text_field :title  %></p>
<p><label for="feed_site_url">Blog Address</label><br/>
<%= form.text_field :site_url  %></p>
<p><label for="feed_description">Description</label><br/>
<%= form.text_field :description  %></p>
<p><label for="feed_link">Tags (separate them with spaces)</label><br/>
<input id="taglist" name="taglist" size="30" type="text" value="" /></p>
<p><label for="feed_link">Feed (leave this blank unless you know it)</label><br/>
<%= form.text_field :link  %></p>
<p><label for="feed_authority_id">Authority</label><br/>
<%= form.select :authority_id, Authority.find(:all).collect {|a| [ a.name, a.id ] }, { :include_blank => false } %></p>
<!--[eoform:feed]-->
  <%= submit_tag "Create" %>
<% end %>

<%= link_to 'Back', :action => 'list' %>
</div>